package com.dkd.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dkd.dao.NodeDao;
import com.dkd.entity.NodeEntity;
import com.dkd.entity.vo.NodeVo;
import com.dkd.service.NodeService;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
@Slf4j
public class NodeServiceImpl extends ServiceImpl<NodeDao, NodeEntity> implements NodeService {
    private final NodeDao nodeDao;
    @Override
    public List<NodeVo> nodeCollect() {

        return   nodeDao.nodeCollect();
    }
}
